﻿using RMS.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMS.EF.Model.Log
{
    public class ErrorLog : MongoDBBaseModel
    {
        /// <summary>
        /// 报错的项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 错误
        /// </summary>
        public string Error { get; set; }
        /// <summary>
        /// 错误信息描述
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 错误发生地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 提交上下文类型
        /// </summary>
        public string UrlContentType { get; set; }
        /// <summary>
        /// 提交参数
        /// </summary>
        public string UrlParameter { get; set; }
        /// <summary>
        /// 错误发生前一个地址
        /// </summary>
        public string UrlReferrer { get; set; }
        /// <summary>
        /// 访问端IP地址
        /// </summary>
        public string ClientIP { get; set; }
    }
}
